//
//  SLCionView.m
//  SoccerLottery
//
//  Created by chuanshuangzhang chuan shuang on 15/12/25.
//  Copyright © 2015年 chuanshuangzhang. All rights reserved.
//

#import "SLCionView.h"

@implementation SLCionView

- (id)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _coinBtn = [[UIButton alloc]init];
        _coinBtn.frame = CGRectMake(0, 0, frame.size.width,frame.size.width*0.5672);
        [self addSubview:_coinBtn];
        _valueLabel = [[UILabel alloc]init];
        _valueLabel.textColor = [UIColor blackColor];
        _valueLabel.font = [UIFont systemFontOfSize:14];
        _valueLabel.textAlignment = NSTextAlignmentCenter;
        _valueLabel.frame = CGRectMake(0, _coinBtn.bottom, frame.size.width, frame.size.height-frame.size.width*0.5672);
        [self addSubview:_valueLabel];
    }
    return self;
}

@end
